home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1996 October / MACPOWER-1996-10.ISO.7z / MACPOWER-1996-10.ISO / Apple関連 / ResEdit 2.1.3 / Examples / Libraries / ResDisp.a < prev    next >
Text File  |  1994-09-14  |  6KB  |  235 lines

  1. ; File ResDisp.a
  2. ;
  3. ; COPYRIGHT (C) 1984-1990 Apple Computer,Inc.
  4. ; All rights reserved
  5.  
  6. ; Linking with this code allows Pickers, Editors or whatever to call
  7. ; certain routines in ResEditユs CODE segments.
  8.  
  9.     PROC
  10.  
  11. ApplScratch    equ    $a78
  12.  
  13.  
  14. ; Calls back to main program
  15.             EXPORT    DrawLDEF
  16.             EXPORT    BubbleUp
  17.             EXPORT    REGet1IndResource
  18.             EXPORT    RECount1Resources
  19.             EXPORT    UseAppRes
  20.             EXPORT    REGet1Resource
  21.             EXPORT    REGet1ResourceSpecial
  22.             EXPORT    ColorAvailable
  23.             EXPORT    GetStr
  24.             EXPORT    GetNamedStr
  25.  
  26.  
  27.             EXPORT    CallInfoUpdate
  28.  
  29.             EXPORT    PassMenu
  30.             EXPORT    GiveSubEBirth
  31.             EXPORT    GetQuickDrawVars
  32.             EXPORT    NeedToRevert
  33.             EXPORT    DisplayStrAlert
  34.             EXPORT    DrawPopup
  35.             EXPORT    DoPopup
  36.  
  37.             EXPORT    NoDoubleClickHere
  38.             EXPORT    SendRebuildToPickerAndFile
  39.             EXPORT    WindReturn
  40.             EXPORT    WindList
  41.             EXPORT    WindOrigin
  42.  
  43.             EXPORT    AbleMenu
  44.  
  45.             EXPORT    FindOwnerWindow
  46.             EXPORT    BuildType
  47.             EXPORT    GrowMyWindow
  48.             EXPORT    ConcatStr
  49.             EXPORT    PickStdHeight
  50.             EXPORT    PickStdWidth
  51.             EXPORT    ChooseIcon
  52.             EXPORT    DupPick
  53.             EXPORT    SysResFile
  54.             EXPORT    RevertThisResource
  55.             EXPORT    FixHand
  56.             EXPORT    CallDoEvent
  57.             EXPORT    DrawMBarLater
  58.             EXPORT    PassEvent
  59.             EXPORT    GiveEBirth
  60.             EXPORT    HandleCheck
  61.             EXPORT    MetaKeys
  62.             EXPORT    PickEvent
  63.             EXPORT    PickInfoUp
  64.             EXPORT    PickMenu
  65.             EXPORT    SendRebuildToPicker
  66.             EXPORT    ScrapCopy
  67.             EXPORT    ScrapEmpty
  68.             EXPORT    ScrapPaste
  69.             EXPORT    SetResChanged
  70.             EXPORT    SetETitle
  71.             EXPORT    GetResEditScrapFile
  72.             EXPORT    FloatingWindowSetup
  73.             EXPORT    ShowInfo
  74.  
  75.             EXPORT    GiveThisEBirth
  76.         
  77.             EXPORT    KillCache
  78.             EXPORT    DefaultListCellSize
  79.             EXPORT    DoKeyScan
  80.             EXPORT    TypeToString
  81.             EXPORT    FrameDialogItem
  82.             EXPORT    FlashDialogItem
  83.             EXPORT    AlreadyOpen
  84.             EXPORT    EditorWindSetup
  85.             EXPORT    GetWindowTitle
  86.             EXPORT    Abort
  87.             EXPORT    DisplayAlert
  88.             EXPORT    WasAborted
  89.             EXPORT    GetType
  90.             EXPORT    CheckError
  91.             EXPORT    CloseNoSave 
  92.             EXPORT    SetTheCursor
  93.             EXPORT    RestoreRemovedResources
  94.             EXPORT    MapResourceType
  95.             EXPORT    WasItLoaded
  96.             EXPORT    PickerWindSetup
  97.             EXPORT    PrintWindow
  98.             EXPORT    PrintSetup
  99.             EXPORT    DoPickBirth
  100.             EXPORT    WritePreferences
  101.             EXPORT    GetErrorText
  102.             EXPORT    CenterDialog
  103.             EXPORT    PlaySyncSound
  104.             EXPORT    ResourceIDHasChanged
  105.             
  106.             EXPORT    InstallColorPalettePopup
  107.             EXPORT    WindAlloc
  108.             EXPORT    DrawColorPopup
  109.             EXPORT    ColorPalettePopupSelect
  110.             EXPORT    DeinstallColorPalettePopup
  111.  
  112.             EXPORT    RERemoveAnyResource
  113.             EXPORT    REAddNewRes
  114.             EXPORT    RENewUniqueRes
  115.             EXPORT    REBeautifulUnique1ID
  116.             EXPORT    RECount1Types
  117.             EXPORT    REGet1IndType
  118.             EXPORT    REGet1NamedResource
  119.             EXPORT    REAddResource
  120.             
  121.             EXPORT    StandardFilter;
  122.  
  123.  
  124.  
  125. DrawLDEF            JSR    DivingBoard        ;  1
  126. BubbleUp               JSR DivingBoard
  127. REGet1IndResource    JSR DivingBoard
  128. RECount1Resources   JSR DivingBoard
  129. UseAppRes              JSR DivingBoard        ;  5
  130. REGet1Resource        JSR    DivingBoard
  131. REGet1ResourceSpecial JSR    DivingBoard    ; 7
  132. ColorAvailable        JSR DivingBoard
  133. GetStr                JSR DivingBoard
  134. GetNamedStr            JSR DivingBoard        ; 10
  135.  
  136. BuildType           JSR DivingBoard
  137. GrowMyWindow        JSR DivingBoard
  138. ColorPalettePopupSelect    JSR DivingBoard
  139. ConcatStr           JSR    DivingBoard
  140. PickStdHeight        JSR    DivingBoard
  141. PickStdWidth        JSR    DivingBoard
  142. ChooseIcon            JSR    DivingBoard
  143. DeinstallColorPalettePopup    JSR    DivingBoard
  144. DupPick                   JSR    DivingBoard
  145. SysResFile             JSR    DivingBoard        ; 20
  146. RevertThisResource    JSR    DivingBoard
  147. FixHand                   JSR    DivingBoard
  148. DrawColorPopup        JSR    DivingBoard
  149. DrawMBarLater          JSR    DivingBoard            
  150. CallDoEvent            JSR    DivingBoard
  151. PassEvent            JSR    DivingBoard
  152. GiveEBirth             JSR    DivingBoard
  153. HandleCheck            JSR    DivingBoard
  154. MetaKeys               JSR    DivingBoard
  155. AbleMenu           JSR    DivingBoard        ; 30
  156. PickEvent              JSR    DivingBoard
  157. PickInfoUp             JSR    DivingBoard
  158. PickMenu               JSR    DivingBoard
  159. SendRebuildToPicker    JSR    DivingBoard
  160. ScrapCopy              JSR    DivingBoard
  161. ScrapEmpty             JSR    DivingBoard
  162. ScrapPaste             JSR    DivingBoard
  163. SetResChanged        JSR    DivingBoard
  164. ShowInfo               JSR    DivingBoard
  165. SetETitle              JSR    DivingBoard        ; 40
  166. GetResEditScrapFile JSR    DivingBoard
  167. FloatingWindowSetup JSR    DivingBoard
  168. CallInfoUpdate        JSR    DivingBoard
  169. PassMenu               JSR    DivingBoard
  170. GiveSubEBirth          JSR    DivingBoard
  171. GetQuickDrawVars     JSR    DivingBoard
  172. NeedToRevert        JSR    DivingBoard
  173. DisplayStrAlert        JSR    DivingBoard          ; 48
  174. DrawPopup            JSR    DivingBoard        ; 49
  175. GiveThisEBirth        JSR    DivingBoard        ; 50
  176. WindReturn            JSR    DivingBoard        ; 51
  177. KillCache            JSR    DivingBoard        ; 52
  178. DefaultListCellSize    JSR    DivingBoard        ; 53
  179. DoKeyScan            JSR    DivingBoard        ; 54
  180. TypeToString        JSR    DivingBoard        ; 55
  181. FrameDialogItem        JSR    DivingBoard        ; 56
  182. FlashDialogItem        JSR    DivingBoard        ; 57
  183. AlreadyOpen            JSR    DivingBoard        ; 58
  184. EditorWindSetup        JSR    DivingBoard        ; 59
  185. GetWindowTitle        JSR    DivingBoard        ; 60
  186. Abort                JSR    DivingBoard        ; 61
  187. DisplayAlert        JSR    DivingBoard        ; 62
  188. WasAborted            JSR    DivingBoard        ; 63
  189. GetType                JSR    DivingBoard        ; 64
  190. CheckError            JSR DivingBoard        ; 65
  191. CloseNoSave            JSR DivingBoard        ; 66
  192. SetTheCursor        JSR DivingBoard        ; 67
  193. RestoreRemovedResources JSR DivingBoard    ; 68
  194. MapResourceType        JSR DivingBoard        ; 69
  195. WasItLoaded            JSR DivingBoard        ; 70
  196. PickerWindSetup        JSR    DivingBoard        ; 71
  197. WindOrigin            JSR    DivingBoard        ; 72
  198. FindOwnerWindow        JSR    DivingBoard        ; 73
  199. PrintWindow            JSR    DivingBoard        ; 74
  200. PrintSetup            JSR    DivingBoard        ; 75
  201. NoDoubleClickHere    JSR    DivingBoard        ; 76
  202. DoPickBirth            JSR    DivingBoard        ; 77
  203. WritePreferences    JSR    DivingBoard        ; 78
  204. GetErrorText        JSR    DivingBoard        ; 79
  205. CenterDialog        JSR    DivingBoard        ; 80
  206. PlaySyncSound        JSR    DivingBoard        ; 81
  207. ResourceIDHasChanged JSR DivingBoard    ; 82
  208. RERemoveAnyResource    JSR  DivingBoard    ; 83
  209. REAddNewRes            JSR  DivingBoard    ; 84
  210. RENewUniqueRes        JSR  DivingBoard    ; 85
  211. REBeautifulUnique1ID JSR  DivingBoard    ; 86
  212. RECount1Types        JSR  DivingBoard    ; 87
  213. SendRebuildToPickerAndFile    JSR    DivingBoard        ; 88
  214. WindList            JSR    DivingBoard        ; 89
  215. REGet1IndType        JSR    DivingBoard        ; 90
  216. InstallColorPalettePopup    JSR    DivingBoard        ; 91
  217. WindAlloc            JSR DivingBoard        ; 92
  218. REGet1NamedResource    JSR    DivingBoard        ; 93
  219. REAddResource        JSR    DivingBoard        ; 94
  220.                     JSR    DivingBoard        ; 95        UNUSED
  221.                     JSR    DivingBoard        ; 96        UNUSED
  222. StandardFilter        JSR    DivingBoard        ; 97
  223. DoPopup                JSR    DivingBoard        ; 98
  224.  
  225.             ; Max 120
  226.  
  227. DivingBoard
  228.             LEA            DrawLDEF+4,A1
  229.             MOVE.L      (SP)+,A0
  230.             SUB.L       A1,A0
  231.             ADD.L       ApplScratch,A0
  232.             MOVE.L      (A0),A0
  233.             JMP            (A0)
  234.  
  235.     END